import 'package:flutter/cupertino.dart';

class DevItemModel {
  late String title;
  String? subTitle;
  late String url;
  late IconData icon;


  DevItemModel({required this.title, this.subTitle, required this.url,required this.icon});

  DevItemModel.fromJson(Map<String, dynamic> json) {
    title = json['title'];
    subTitle = json['subTitle'];
    url = json['url'];
    icon = json['icon'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['title'] = title;
    data['subTitle'] = subTitle;
    data['url'] = url;
    data['icon'] = icon;

    return data;
  }
}
